package server.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import server.model.entity.UserDeposit;
import server.model.entity.Users;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

/**
 * 创建人:    xvzhe
 * 创建时间:
 * 修改时间:
 * 版本:      v1.0
 */
@Data
@ApiModel
public class UserDepositDto {
    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("账号（收款码/银行卡号）")
    private String no;

    @ApiModelProperty("收款人")
    private String people;

    @ApiModelProperty("方式")
    private UserDeposit.Type type;

    @ApiModelProperty("是否默认收货地址")
    private Boolean isDefault;

    private Boolean status;

    private String id;
}
